package com.lemon.smartsafetynew.entity.event.common;

public class DataEvent<T> {

    private T data;
    private String tag;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public DataEvent(T data, String tag) {
        this.data = data;
        this.tag = tag;
    }
}
